package biz;

import bean.PrizeWinningInfo;
import mapper.PrizeWinningMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrizeWinningBizImpl  implements  PrizeWinningBiz{
    @Autowired
    private PrizeWinningMapper pwm;

    @Override
    public List<PrizeWinningInfo> insertLiveBroadcastNumber(Integer liveBroadcastNumber) {
        return pwm.insertLiveBroadcastNumber(liveBroadcastNumber);
    }

    @Override
    public List<PrizeWinningInfo> insertWinningBonusvenue(Integer liveBroadcastNumber, Integer statement) {
        return pwm.insertWinningBonusvenue(liveBroadcastNumber,statement);
    }

    @Override
    public List<PrizeWinningInfo> addStatementByUsersId(Integer usersId,Integer statement) {
        return pwm.addStatementByUsersId( usersId, statement);
    }

    @Override
    public List<PrizeWinningInfo> addInfo() {
        return pwm.addInfo();
    }

    @Override
    public List<PrizeWinningInfo> showInfo(Integer statment) {
        return pwm.showInfo(statment);
    }



    @Override
    public List<PrizeWinningInfo> saveMoney( Integer usersId) {
        return pwm.saveMoney(usersId);
    }
}
